/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jskat.basic;

/**
 *
 * @author Kai
 */
public class Trick {
    
    private Card[] cards;
    
    public Trick()
    {
        
    }
    
    public int getTrickValue()
    {
        int tmpValue;
        
        tmpValue = cards[0].getScoreValue() + cards[1].getScoreValue() + cards[2].getScoreValue();
        
        return tmpValue;
    }

    public Card[] getCards() {
        return cards;
    }

    public void setCards(Card[] aCards) {
        cards = aCards;
    }
   
}
